<!-- search area   -->
<div class="row searchLineWrap" id="content">
    <form class="form-horizontal" method="post" action="${cxt!}/admin/academy/case/list" id="academyCaseForm">
        <div class="col-md-12">
            <div class="row">
                <div class="col-md-3">
                    <div class="form-group">
                        <label class="col-md-5 control-label">${_res["academy.case.title"]}</label>
                        <div class="col-md-7">
                            <input type="text" class="form-control" name="academyCase.l_title" placeholder="${_res['academy.case.title']}" value="${paramMap['academyArticle.l_title']}" >
                        </div>
                    </div>
                </div>            
                
                <div class="col-md-6"></div>        
            
                <div class="col-md-3">
                    <div class="form-group">
                        <% if(hasPrivilegeUrl("vipMessageList")){ %>
                           <button type="button" class="btn btn-primary" onclick="ajaxForm('content','academyCaseForm')"> <i class="fa fa-search m-l-sm m-r-xs"></i>${_res["system.search"]}</button>
                        <% } %>
                    </div>
                </div> 
            </div>
        </div>
    </form>
</div>
<div class="row searchLineWrap">
	<p>
		<a href="javascript:void(0);" onClick="ajaxContent('/admin/toUrl?toUrl=/message/academyCase/add.html');" class="btn btn-primary pull-left">${_res["academy.case.addCase"]} </a>
		<div class="clearfix"></div>
	</p>
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>${_res["academy.case.title"]}</th>
                <th>${_res["academy.case.count"]}</th>
                <th>${_res["academy.case.sort"]}</th>
                <th>${_res["academy.case.time"]}</th>
                <th>${_res["academy.case.url"]}</th>
                <th>${_res["system.operator"]}</th>
            </tr>
        </thead>
        <tbody>
            <% for(academyCase in splitPage.list!){ %>
            <tr>
                <td>${academyCase.title!}</td>
                <td>${academyCase.count!}</td>
                <td>${academyCase.sort!}</td>
                <td>${academyCase.time!}</td>
                <td>${academyCase.url!}</td>
                <td>
                    <% if(hasPrivilegeUrl("caseDelete")){ %>
                        <button type="button" class="btn btn-sm btn-link" onClick="ajaxDelete('/admin/academy/case/delete/${academyCase.id!}')">${_res["system.delete"]}</button>
                    <% } %>
                    <% if(hasPrivilegeUrl("caseUpdate")){ %>
                        <button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/admin/academy/case/toUpdate/${academyCase.id!}')">${_res["system.edit"]}</button>
                    <% } %>
                </td>
            </tr>
            <% } %>
        </tbody>
    </table>
    <div id="splitPageDiv"><#page formId="academyCaseForm" /></div>
    <#nav />
</div>